package cn.proxy;

import cn.service.UserService;
import cn.service.UserServicelmpl;

public class Demo {

	public static void main(String[] args) {
		UserService us = new UserServicelmpl();
		UserServiceProxyFactory factory = new UserServiceProxyFactory(us);
		
		UserService usProxy =factory.getUserServiceProxy();
		usProxy.save();
		
	}

}
